<template>
    <Table border :columns="columns6" :data="data5"></Table>
</template>
<script>
export default {
  data () {
    return {
      columns6: [
        {
          title: '序号',
          key: 'id',
          width: 200,
          align: 'center'
        },
        {
          title: '类别',
          key: 'country',
          width: 200,
          align: 'center'
        },
        {
          title: '当日新增',
          key: 'jj',
          align: 'center',
          children: [
            {
              title: '居家隔离',
              key: 'addjjgl',
              align: 'center',
              width: 150
            },
            {
              title: '发热',
              key: 'addfire',
              align: 'center',
              width: 150
            }]
        },
        {
          title: '累计',
          key: 'lj',
          align: 'center',
          children: [
            {
              title: '居家隔离',
              key: 'sumjjgl',
              align: 'center',
              width: 150
            },
            {
              title: '发热',
              key: 'sumfire',
              align: 'center',
              width: 150
            }]
        },
        {
          title: '备注',
          key: 'bz',
          width: 200,
          align: 'center'
        }
      ],
      data5: [
        {
          id: 1,
          country: '和平',
          addjjgl: 152,
          addfire: 0,
          sumjjgl: 676,
          sumfire: 0
        }, {
          id: 2,
          country: '沈河',
          addjjgl: 0,
          addfire: 0,
          sumjjgl: 723,
          sumfire: 0
        }, {
          id: 3,
          country: '铁西',
          addjjgl: 1,
          addfire: 0,
          sumjjgl: 482,
          sumfire: 0
        }, {
          id: 4,
          country: '皇姑',
          addjjgl: 23,
          addfire: 0,
          sumjjgl: 535,
          sumfire: 0
        }, {
          id: 5,
          country: '大东',
          addjjgl: 2,
          addfire: 0,
          sumjjgl: 279,
          sumfire: 0
        }, {
          id: 6,
          country: '浑南',
          addjjgl: 11,
          addfire: 0,
          sumjjgl: 831,
          sumfire: 0
        }, {
          id: 7,
          country: '于洪',
          addjjgl: 9,
          addfire: 0,
          sumjjgl: 643,
          sumfire: 0
        }, {
          id: 8,
          country: '沈北',
          addjjgl: 13,
          addfire: 0,
          sumjjgl: 486,
          sumfire: 0
        }, {
          id: 9,
          country: '苏家屯',
          addjjgl: 13,
          addfire: 0,
          sumjjgl: 486,
          sumfire: 0
        }, {
          id: 10,
          country: '辽中',
          addjjgl: 0,
          addfire: 0,
          sumjjgl: 61,
          sumfire: 0
        }, {
          id: 11,
          country: '新民',
          addjjgl: 2,
          addfire: 0,
          sumjjgl: 33,
          sumfire: 0
        }, {
          id: 12,
          country: '法库',
          addjjgl: 0,
          addfire: 0,
          sumjjgl: 0,
          sumfire: 0
        }, {
          id: 13,
          country: '康平',
          addjjgl: 0,
          addfire: 0,
          sumjjgl: 14,
          sumfire: 0
        }, {
          id: 14,
          country: '合计',
          addjjgl: 231,
          addfire: 0,
          sumjjgl: 4979,
          sumfire: 0
        }
      ]
    }
  }
}
</script>
